image: Load resources and files into textures
authorBenjamin Otte <otte@redhat.com>
Wed, 14 Mar 2018 03:45:25 +0000 (04:45 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 16 Mar 2018 05:04:44 +0000 (06:04 +0100)
commit7844320f1031cf83f69b3c15e19c7e49d038d0bb
treeda46cf466cee33af39d083b32c5899816a5adeee
parentc9557c207f3ca927af216723e88bfec22a37999e
image: Load resources and files into textures

Instead of loading them into surfaces (which we want to get rid of), we
load into textures.
In fact, we introduce a new paintable subclass called a GtkScaler that
takes care of tracking scaling.

This also ideally gets rid of an extra conversion once renderers learn
to render textures directly.
demos/gtk-demo/main.c
gtk/gtkcellrendererpixbuf.c
gtk/gtkiconhelper.c
gtk/gtkimage.c
gtk/gtkimagedefinition.c
gtk/gtkimagedefinitionprivate.h
gtk/gtkscaler.c [new file with mode: 0644]
gtk/gtkscalerprivate.h [new file with mode: 0644]
gtk/meson.build